﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data;
using KPIS.GERP.GBMS.IBLL;
using KPIS.GERP.GBMS.MODEL;

namespace KPIS.GERP.GBMS.IBLL
{
    public interface IExpenseGroupBLL 
    {
        void Insert(string Code, string Name, string Description, int Parent, int Source, string Gfmis_code);

        void Update(int Seq, string Code, string Name, string Description, int Parent, int Source, string Gfmis_code);

        void Delete(int seq);

        IList<ExpenseGroupInfo> Search(int seq);

        IList<ExpenseGroupInfo> Search(int Sequence, string Code, string Name, string Description, int Parent, int Source);

        IList<TreeViewInfo> TreeView(IList<TreeViewInfo> tView, bool isRootNode);
        
        bool CheckDuplicateCode(string code);
    }
}
